package com.ruyiadmin.springboot.common_infrastructure.constants.system;

/**
 * <p>
 * RuYiAdmin 系统异常提示信息
 * </p>
 *
 * @author RuYiAdmin
 * @since 2023-10-05
 */
public class ExceptionMessage {
    //机构删除异常提示信息
    public static final String DeleteOrgExceptionMessage = "org contains users or sub orgs,can not be deleted.";

    //用户名已存在异常提示信息
    public static final String DuplicatedLogonNameExceptionMessage = "logon name has existed";

    //无效用户异常提示信息
    public static final String InvalidUserExceptionMessage = "user is invalid";

    //无效用户名异常提示信息
    public static final String NotNullUserNameExceptionMessage = "user name can not be null";

    //登录次数限制异常提示信息
    public static final String LogonCountLimitedExceptionMessage = "logon count limited";

    //无效验证码异常提示信息
    public static final String InvalidCaptchaExceptionMessage = "captcha is invalid";

    //无效口令异常提示信息
    public static final String InvalidTokenExceptionMessage = "token is invalid";

    //无效同步账号异常提示信息
    public static final String InvalidAccountExceptionMessage = "account is invalid";

    //无效盐异常提示信息
    public static final String InvalidSaltExceptionMessage = "salt is invalid";

    //模块删除异常提醒信息
    public static final String DeleteModuleExceptionMessage = "module has been used,can not be deleted.";

    //菜单删除异常提示信息
    public static final String DeleteMenuExceptionMessage = "menu contains sub items,can not be deleted.";

    //角色删除异常提示信息
    public static final String DeleteRoleExceptionMessage = "role has been used,can not be deleted.";

    //字典删除异常提示信息
    public static final String DeleteCodeTableExceptionMessage = "code contains sub items,can not be deleted.";

    //导入配置删除异常提示信息
    public static final String DeleteImportConfigExceptionMessage = "configuration contains sub items,can not be deleted.";

    //文件不存在异常提示信息
    public static final String FileNotExistedExceptionMessage = "file is not existed";

    //无效Cron表达式异常提示信息
    public static final String InvalidCronExpressionExceptionMessage = "invalid cron expression";

    //停止作业异常提示信息
    public static final String StopJobExceptionMessage = "job is running,please stop it first.";

    //鉴权异常提示信息
    public static final String NotNullPermissionExceptionMessage = "permission can not be null";

    //无效JwtToken异常提示信息
    public static final String UnauthorizedJwtTokenExceptionMessage = "unauthorized jwt token";

    //无效Token异常提示信息
    public static final String NeccesarryTokenExceptionMessage = "token is neccesarry";
}
